package com.genokon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.genokon.dto.VariationDto;
import com.genokon.entry.GeneVariationInfo;

import java.util.List;
import java.util.Map;

/**
 * @author by baichaoda
 * @date 2020/11/3 13:05
 */
public interface VariationInfoMapper extends BaseMapper<GeneVariationInfo> {
    /**
     * 变异全信息
     * @param id 主键
     * @return s
     */
    List<VariationDto> selectInfoById(Long id);

    /**
     * 关键字查询
     * @param map 关键字 [("rs","xx"),("entrezId","xx"),("symbol","xx")]
     * @return s
     */
    List<VariationDto> selectByKey(Map<String, String> map);
}
